﻿<%@ Page Language="C#" MasterPageFile="~/Template/Master1.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" Title="Register Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="container">
        <div id="leftside1">
            <div class="bigBarContainer">                
                    <div class="barTitle">
                        Sign up - It's free
                    </div>
                        <div class="barContent">
                            <div style="padding-bottom: 10px">
                            </div>
                             <div>
                                <asp:Label ID="lblTB" runat="server" ForeColor="Red" Font-Size="14px" Font-Names="Arial"></asp:Label>
                            </div>
                            <br />
                            <div>
                                <label class="lblSignUp">
                                    Fullname:
                                </label>
                                <asp:TextBox runat="server" ID="txtFullname" CssClass="txtSignUp"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ControlToValidate="txtFullname" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>
                            
                            <div>
                                <label class="lblSignUp">
                                    Username:
                                </label>
                                <asp:TextBox runat="server" ID="txtUsername" CssClass="txtSignUp" MaxLength="50"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ControlToValidate="txtUsername" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>
                            
                            <div>
                                <label class="lblSignUp">
                                    Password:
                                </label>
                                <asp:TextBox runat="server" ID="txtPassword" CssClass="txtSignUp" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="txtPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>
                            
                            <div>
                                <label class="lblSignUp">
                                    Birthday: 
                                </label>
                                <asp:TextBox runat="server" ID="txtBirthday" CssClass="txtSignUp"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ControlToValidate="txtBirthday" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>
                            
                            <div>
                                <label class="lblSignUp">
                                    Address:
                                </label>
                                <asp:TextBox runat="server" ID="txtAddress" CssClass="txtSignUp"></asp:TextBox>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                ControlToValidate="txtAddress" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>
                            
                            <div>
                                <label class="lblSignUp">Gender</label>
                                <asp:RadioButton ID="rbtmale" runat="server" Text="Male" GroupName="gender" CssClass="rbt"/>
                                <asp:RadioButton ID="rbtFemale" runat="server" Text="Female" GroupName="gender" CssClass="rbt"/>
                            </div>
                            <br />
                            <div>
                                <label class="lblSignUp">
                                    Email:
                                </label>
                                <asp:TextBox runat="server" ID="txtEmail" CssClass="txtSignUp"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ControlToValidate="txtEmail" ErrorMessage="*" 
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                            </div>
                            
                            <div>
                                <label class="lblSignUp">
                                    Phone Number:
                                </label>
                                <asp:TextBox runat="server" ID="txtPhone" CssClass="txtSignUp"></asp:TextBox>
                            </div>
                            
                            <div style="padding-top: 30px; padding-left: 190px;">
                            <asp:Button runat="server" ID="btnRegister" Text="Register!" 
                                    onclick="btnRegister_Click" />
                        </div>
                            
                        </div>
            </div>                
        </div>
    </div>
</asp:Content>

